package com.qingke.note.pojo;

import java.util.List;

public class User {
    private Integer id;

    private String name;

    private String username;
    
    private Password password;

    private List<Note> notes;
    
    @Override
	public String toString() {
		return "User【" + name + "】";
	}
    
    

	public List<Note> getNotes() {
		return notes;
	}
	
	public void setNotes(List<Note> notes) {
		this.notes = notes;
	}

	public Password getPassword() {
		return password;
	}
    
	public void setPassword(Password password) {
		this.password = password;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

}